import {Dimensions, Platform} from 'react-native'
const { width, height } = Dimensions.get('window')
import { getStatusBarHeight } from 'react-native-status-bar-height'

const metrics = {
  listViewMarginBottom:50,
  marginHorizontal: 10,
  marginVertical: 10,
  section: 25,
  baseMargin: 10,
  doubleBaseMargin: 20,
  smallMargin: 5,
  doubleSection: 50,
  horizontalLineHeight: 1,
  isIOS: Platform.OS === 'ios',
  screenWidth: width < height ? width : height,
  screenHeight: width < height ? height : width,
  navBarHeightNoStatusBar: (Platform.OS === 'ios') ? 44  : 54 ,
  navBarHeight: ((Platform.OS === 'ios') ? 44 : 54)  + getStatusBarHeight(true) ,
  statusBarHeight: getStatusBarHeight(true),
  buttonRadius: 4,
  icons: {   
    tiny: 15,
    small: 20,
    medium: 30,
    large: 45,
    xl: 50
  },
  images: {
    small: 20,
    medium: 40,
    large: 60,
    logo: 200
  }
}

export default metrics

 